#include "exp_2.h"
int main() {
    int i;
    while (1) {
        printf("请输入求解方式：\n");
        printf("0 穷举法\n1 递归法\n2 非递归法\n：");
        scanf("%d", &i);
        switch (i) {
        case 0: {
            solve8Quees_exhaustion();
            break;
        }
        case 1: {
            printf("递归解法：\n");
            solve8Quees_recurion();
            break;
        }
        case 2: {
            printf("非递归解法：\n");
            solve8Quees_nonRecurion();
            break;
        }
        }
    }
    return 0;
}